* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 20px;
  background-color: #eae5e1;
}

main {
  width: 50rem;
  background-color: #e1dbd6;
  margin: 3rem auto;
  padding: 1rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* 输入行设置 */
.input {
  display: flex;
  flex-direction: row;

  align-items: center;
}

.input input {
  width: 22rem;
  height: 3rem;

  border-radius: 1rem;
  border: 2px solid #00b8a9;
  font-size: 2rem;
  text-indent: 10px;
  outline: none;
}
.input input::placeholder{
    font-style: italic;
    font-size: 1.5rem;
    color:#A6E3E9;
}
/* 按钮设置 */
.add_btn {
  height: 2.5rem;
  width: 5rem;
  background-color: #e4f9f5;
  border-radius: 1.5rem;
  margin-left: 1rem;
  /* 文字居中 */
  display: flex;
  justify-content: center;
  align-items: center;
  /* 文字样式 */
  font-size: 1.2rem;
  font-weight: 700;

  /* 边框 */

  border: 2px solid #00b8a9;
}

/* 显示区设置 */
.content {
  background-color: #f8f3d4;
  width: 28rem;
  margin-top: 1rem;

  border-radius: 0.5rem;
  border: 2px solid #00b8a9;

  min-height: 5rem;

  /* 弹性布局 */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  justify-content: space-evenly;
}

.content div{
  background-color: #FFDE7D;
  max-width: 20rem;
  min-width: 5rem;
  height: 3rem;

  margin:0.5rem 0.1rem 0.1rem 0.2rem;

  /* 文字居中 */
  display: flex;
  justify-content: center;
  align-items: center;


  padding: 3px;
  box-sizing: border-box;

  border-radius: 0.5rem;

  position: relative;
}

.content div .info{
    overflow: hidden;
}

.content div .del_logo{
    position: absolute;
    top: 0px;
    right: 0px;

    height: 1rem;
    width: 1rem;
    background-color: red;
    border-radius: 50%;

    text-align: center;
    line-height: 1rem;
    font-weight: 700;

    cursor: pointer;
    display: none;

 
}

.content div:hover .del_logo{
    display: block;
}

.content .yellow{
  background-color: #FFDE7D;
}

.content .red{
  background-color: #F38181;
}

.content .green{
  background-color: #95E1D3;
}

